<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><?php echo $this->pageTitle ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/css_002.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/css.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/css_003.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/css_004.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/base_external.css" rel="stylesheet" type="text/css">
    <link href="<?php echo FRONT_SITE_URL ?>www/css/css1/theme.css" rel="stylesheet" type="text/css">
    
    <?php 
      if(isset($this->content['addCss'])){
        foreach($this->content['addCss'] as $item){
         echo '<link href="',FRONT_SITE_URL,'www/css/css1/',$item,'" rel="stylesheet" type="text/css">';
        }
      }
    ?>
    
    
    <script src="<?php echo FRONT_SITE_URL ?>www/js/js1/jquery-1.js" type="text/javascript"></script>
    <script src="<?php echo FRONT_SITE_URL ?>www/js/js1/lib.js" type="text/javascript"></script>
    <script src="<?php echo FRONT_SITE_URL ?>www/js/js1/jquery-ui-1.js" type="text/javascript"></script>
    
    <?php 
      if(isset($this->content['addScript'])){
        foreach($this->content['addScript'] as $item){
          echo '<script src="',FRONT_SITE_URL,'www/js/js1/',$item,'" type="text/javascript"></script>';
        }
      }
    ?>
  </head>

  <body>



    <div id="header">
      <div id="headercontent">
        <div id="logo" title="BBPeopleMeet.com">
          <!-- change logo to use .com only if on external help page and on our time -->
          <a href="http://www.bbpeoplemeet.com/?notrack"><img src="<?php echo FRONT_SITE_URL ?>www/images/images1/logo.png" alt="" border="0"></a>
        </div>
        <div id="externalheadernologin">
          <p><a href="http://www.peoplemedia.com/" target="_blank">A People Media Site</a></p>
          <p class="externalloginspace"><a href="<?php echo FRONT_SITE_URL; ?>login" class="loginlinkexternal">Login Now</a></p>        
        </div>
      </div>
    </div>

    <div id="maincontent">
      <?php
      echo $content;
      if(isset($this->content['widget'])){
        foreach($this->content['widget'] as $item){
          $this->widget($item);
        }
      }
      
      ?>
      
      <p class="clearfix">&nbsp;</p>

    </div>

    <div id="footer">
      <div id="footercontent">
        <div id="footercontentleft">
          <p>
            Copyright © 2014 People Media. All rights reserved.  21x1107.  <a href="http://www.bbpeoplemeet.com/v3/termsandconditions">Terms of Use</a> | <a href="http://www.bbpeoplemeet.com/v3/privacypolicy?notrack">Privacy Policy</a>
          </p>
        </div>

      </div>
    </div>

    <div id="externallinks">
      <p>
        <a href="http://www.bbpeoplemeet.com/?notrack">home</a> | 
        <a href="http://www.bbpeoplemeet.com/v3/datingtips">safe dating tips</a> | 
        <a href="http://www.bbpeoplemeet.com/v3/help">contact us</a> | 
        <a href="https://www.bbpeoplemeet.com/v3/billing/">billing</a> | 
        <a href="http://www.bbpeoplemeet.com/v3/successstories">success stories</a> | 
        <a href="http://www.match.com/cp/careers/CurrentOpenings.html">careers</a> | 
        <a href="http://www.bbpeoplemeet.com/v3/aboutonlinedating">about</a> | 
        <a href="http://www.matchmediagroup.com/" target="_blank">advertise with us</a> | 
        <a href="http://www.bbpeoplemeet.com/v3/externalsearch">search</a> | 
        <a href="http://www.bbpeoplemeet.com/sign_up">join now</a> | 

        <a href="javascript:void(0);" onclick="window.external.AddFavorite('http://www.bbpeoplemeet.com?notrack', 'BBPeopleMeet.com - The Big and Beautiful Dating Network')">bookmark page</a> | 
        <a href="http://www.bbpeoplemeet.com/v3/sitemap">site map</a>
        <br>
        <a href="http://www.match.com/" target="_blank">Match.com</a> | 
        <a href="http://www.chemistry.com/" target="_blank">Chemistry.com</a> | 
        <a href="http://www.ourtime.com/?notrack" target="_blank">Mature Dating</a> | 
        <a href="http://www.blackpeoplemeet.com/?notrack" target="_blank">Black Singles</a> | 
        <a href="http://www.bbpeoplemeet.com/?notrack" target="_blank">Big and Beautiful</a>
      </p>
    </div>

  </body></html>